<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<link type="text/css" rel="stylesheet" href="../zxy/css/emp_info/emp_basic.css">
	<div id="zxy_ei_emp_basic_tool">
		<a id="zxy_ei_emp_basic_tool_edit" class="easyui-linkbutton"></a>
	</div>
	<div class="zxy_eb_content">
		<div class="zxy_eb_view_content">
			<table class="zxy_eb_table">
				<tbody>
					<tr>
						<td><span class="zxy_eb_table_title">员工编号</span></td>
						<td><span class="zxy_eb_table_item">${emp.empId }</span></td>
					</tr>
					<tr>
						<td><span class="zxy_eb_table_title">员工姓名</span></td>
						<td><span class="zxy_eb_table_item">${emp.empName }</span></td>
					</tr>
					<tr>
						<td><span class="zxy_eb_table_title">英文姓名</span></td>
						<td><span class="zxy_eb_table_item">${emp.englishName }</span></td>
					</tr>
					<tr>
						<td><span class="zxy_eb_table_title">部门</span></td>
						<td><span class="zxy_eb_table_item">${emp.dep.depName }</span></td>
					</tr>
					<tr>
						<td><span class="zxy_eb_table_title">职务</span></td>
						<td><span class="zxy_eb_table_item">${emp.postSetting.postName }</span></td>
					</tr>
					<tr>
						<td><span class="zxy_eb_table_title">制单人</span></td>
						<td><span class="zxy_eb_table_item">${emp.maker}</span></td>
					</tr>
					<tr>
						<td><span class="zxy_eb_table_title">制单时间</span></td>
						<td><span class="zxy_eb_table_item">${emp.makeTime}</span></td>
					</tr>
					<tr>
						<td><span class="zxy_eb_table_title">更新人</span></td>
						<td><span class="zxy_eb_table_item">${emp.updateEmp}</span></td>
					</tr>
					<tr>
						<td><span class="zxy_eb_table_title">更新时间</span></td>
						<td><span class="zxy_eb_table_item">${emp.updateTime}</span></td>
					</tr>	
				</tbody>
			</table>
		</div>
	</div>
	
	<div class="zxy_eb_content">
		<div class="zxy_eb_view_content">
			<div id="zxy_eb_photo_content">
				<img width="150px" height="150px" src="${emp.photo }" onerror="this.src='../common/img/default.jpg'">
			</div>		
		</div>
	</div>
	
	
	
	<div id="zxy_eb_window"></div>
	
	<input type="hidden" id="zxy_ei_emp_id" value="${emp.empId }"/>
	<script>
		var empId=$("#zxy_ei_emp_id").val();
		/* $("#zxy_eb_window").window({
			width:1000,
		    height:400,
		    modal:true,
		    collapsible:false,
		    minimizable:false,
		    maximizable:false,
		    resizable:false,
		    href:'../emp/empBasicEdit',
		    closed:true
		}); */
		//编辑按钮
		$("#zxy_ei_emp_basic_tool_edit").linkbutton({
			 iconCls:'icon-edit',
			 text:'编辑',
			 onClick:function(){
				 zxy_eb_edit_emp();
			 }
		});
		function zxy_eb_edit_emp(){
			$("#zxy_ei_emp_basic").panel("refresh","../emp/empBasicEdit?empId="+empId);
	    	/* $("#zxy_ei_emp_basic").panel({
				tools:"#zxy_ei_emp_basic_eidt_tool"
			}); */
		}
	</script>
</body>
</html>